Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.user.center.profile.layouts--layouts

This contribution is part of XML component org.nuxeo.ecm.user.center.profile.layouts inside nuxeo-user-profile-6.0.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="summary_user_profile_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_user_profile</widget>
            </row>
          </rows>
        </layout>
  • <layout name="userprofile">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>avatar</widget>
            </row>
            <row>
              <widget>birthdate</widget>
            </row>
            <row>
              <widget>phonenumber</widget>
            </row>
            <row>
              <widget>gender</widget>
            </row>
          </rows>
        </layout>
  • <layout name="summary_user_preferences_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>summary_user_preferences</widget>
            </row>
          </rows>
        </layout>
  • <layout name="userpreferences">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <widget>locale</widget>
            </row>
            <row>
              <widget>timezone</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <!-- deprecated since 5.9.2, use a grid layout now -->
    <layout name="summary_user_profile_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_user_profile</widget>
        </row>
      </rows>
    </layout>

    <layout name="userprofile">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>avatar</widget>
        </row>
        <row>
          <widget>birthdate</widget>
        </row>
        <row>
          <widget>phonenumber</widget>
        </row>
        <row>
          <widget>gender</widget>
        </row>
      </rows>
    </layout>

    <layout name="summary_user_preferences_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>summary_user_preferences</widget>
        </row>
      </rows>
    </layout>

    <layout name="userpreferences">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <widget>locale</widget>
        </row>
        <row>
          <widget>timezone</widget>
        </row>
      </rows>
    </layout>

  </extension>